package kr.ac.kookmin.cs.distboard;

import android.content.Context;
import android.content.Intent;

public class MyTest {
	
	private Context currentConext = null;
	
	private Thread thread = new Thread(){
		public void run(){
			
			for(int i = 0 ; i < 10 ; i++){
				Intent myIntent = new Intent(currentConext, kr.ac.kookmin.cs.distboard.activity.ModeSelectionActivity.class);
				currentConext.startActivity(myIntent);
				
				try {
					Thread.sleep(500);
				} catch (InterruptedException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
			}
		}
	};
	
	public MyTest(Context context){
		this.currentConext = context;
	}
	
	public void go(){
		thread.start();
	}
}
